/*
 * @Author: yanjikun
 * @Date: 2022-06-07 10:21:18
 * @LastEditors: yanjikun
 * @LastEditTime: 2022-06-07 10:47:12
 * @Description: file content
 */

import { TreeParams } from './tree'

export type ActionItem = {
  onClick?: Fn<TreeParams, any>
  label?: string
  icon?: string
  /**业务控制是否隐藏 */
  hidden?: boolean | ((action: TreeParams) => boolean)
}
